//通知请求模块
import request from "../utils/request";
export const getclubsChannels=(data)=>{
    return request({
        method:"GET",
        url:"/front/clubs/list",
        params:data
    })
}
export const isclubs=(clubId)=>{
    return request({
        method:"get",
        url:"/front/clubs/isClub",
        params:{
            clubId:clubId
        }
    })
}

export const getClubsById=(data)=>{
    return request({
        method:"GET",
        url:"/front/clubs/getById",
        params:{
            id:data
        }
    })
}

export const myClubList=(data)=>{
    return request({
        method:"GET",
        url:"/front/clubs/mylist",
        params:data
    })
}



export const applyClub=(data)=>{
    return request({
        method:"post",
        url:"/front/clubs/apply",
        data:data
    })
}


export const upload=(formData)=>{
    return request({
        method: 'POST',
        url: '/front/uploadWordFile',
        data: formData,
        headers: {
          'Content-Type': 'multipart/form-data'
        }
      });
}
